package pers.zc.activiti.service.impl;

import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;

/**
 * @Annotion:
 * @ClassName: TaskServiceImpl
 * @Author: Lin Fuyuan
 * @Date: 2019/9/18  17:05
 * @Version: 1.0
 */
public class TaskServiceImpl implements TaskListener {

    @Override
    public void notify(DelegateTask delegateTask) {
        String assignee = "火云邪神";
        System.out.println("指定处理人:"+assignee);
        delegateTask.setAssignee(assignee);
    }









}
